<h2>{{msg}}</h2>


<br>



<button (click)="changeMsg()">改变msg的值</button>


<input type="text" [(ngModel)]="userinfo" />